export const toFirstUpperCase = (str) => {
  // const res = str.replace(/\b-?(\w)(\w*)/g, function($0, $1, $2) {
  const res = str.replace(/-(\w)(\w*)/g, function($0, $1, $2) {
    return $1.toUpperCase() + $2.toLowerCase()
  })
  return res
}
